package com.rtx.edi.gatway.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface GatWayHandleMapper {

	@Insert("${sql}")
	public int insertSql(@Param("sql")String sql);
	
	@Update("${sql}")
	public int updSql(@Param("sql")String sql);
	
	@Update("${sql}")
	public String selectwhseid(@Param("sql")String sql);
	
    @Select("select db_logid from pl_db where db_logid<>'enterprise' and isactive=1")
    List<String> selectActiveWhseidNotEnterprise();
}
